/**
 * Copyright By Nanjing Fujitsu Nanda Software Technology Co., Ltd
 * 下午5:15:58
 * Role.java
 * 
 */
package com.fujitsu.nanjing.mobile.enums;

/**
 * @author qixb.fnst
 * 
 */
public enum Role {
    boss(6,"项目总监"),logisticsMgr(5,"后勤经理"),projectMrg(4,"项目经理"),admin(3,"后台管理员"),supervisor(2, "巡场员"), guide(1, "导览员");
    private Role(int roleId, String roleName) {
        this.roleId = roleId;
        this.roleName = roleName;
    }

    private int roleId;
    private String roleName;

    @Override
    public String toString() {
        return super.toString() + "(" + roleId + "," + getRoleName() + ")";
    }

    public int getRoleId() {
        return roleId;
    }

    public String getRoleName() {
        return roleName;
    }

}
